-- GENERATED SPELL FOR [Gnarlpine Shaman] --


function spell0_2009(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(332,pUnit)
pUnit:RegisterEvent('Sorts_2009', 2000, 1)
end

function Sorts_2009(pUnit, Event)
local choix_sorts_2009 = math.random(0, 0)
if choix_sorts_2009 == 0 then
pUnit:RegisterEvent('spell0_2009', 1, 1)
end
end

function mob2009_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2009', math.random(1500, 3000), 1)
end

function mob2009_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2009_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2009_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2009, 1, 'mob2009_Action')
RegisterUnitEvent(2009, 2, 'mob2009_Leave')
RegisterUnitEvent(2009, 3, 'mob2009_Kill')
RegisterUnitEvent(2009, 4, 'mob2009_Die')
